import React from "react"
import styles from "./Carousel.module.css"
import { Image, Carousel as AntCarousel } from "antd"

const Carousel: React.FC = () => {
	return (
		<AntCarousel autoplay className={styles.slider}>
			<Image src="https://w.wallhaven.cc/full/e7/wallhaven-e7re9l.jpg" />
			<Image src="https://w.wallhaven.cc/full/q2/wallhaven-q25gd5.jpg" />
			<Image src="https://w.wallhaven.cc/full/g7/wallhaven-g7v9j7.jpg" />
		</AntCarousel>
	)
}

export default Carousel
